﻿
using System;
using Game2DFramework;
using MechGame.Game;
using MechGame.GameMenu;

namespace MechGame
{
    class MechGameApplication : Game2D
    {
        public const int BorderTop = 50;
        public const int Border = 30;

        public MechGameApplication()
            : base(800, 600, false)
        {
        }


        protected override Type RegisterStates()
        {
            RegisterState(new MainMenuState());
            RegisterState(new InGameState());

            return MainMenuState.Id;
        }

        static void Main()
        {
            using (var game = new MechGameApplication())
            {
                game.Run();
            }
        }
    }
}
